<!doctype html>
<html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	</head>
	<style>
		.listblock {
			background-color: #F6F6F6;
			margin-bottom: 5px;
			padding: 5px;
		}

		.titleblack {
			float: left;
			background-color: #ceff9e;
			padding: 2px;
		}
	</style>

	<body>
		<p>刷新于{{time}}</p>
		{% for i in shuidi %}
		<div class="listblock">
			<div class="titleblack">{{i.duration}} {{i.monitorItem}} {{i.description}} </div>
			<div>
				{{i.contents}}
				{{i.receiversDesc}}
			</div>

		</div>
		{% endfor %}


	</body>


	<script>
		var liNodes = document.getElementsByClassName("listblock");
		for (var i = 0; i < liNodes.length; i++) {
			liNodes[i].onclick = function() {
				// alert(this.innerHTML)
				
				/*android复制*/
				var oInput = document.createElement('input');
				oInput.value = this.innerHTML
				document.body.appendChild(oInput);
				oInput.select(); // 选择对象
				document.execCommand("Copy"); // 执行浏览器复制命令
				oInput.className = 'oInput';
				oInput.style.display = 'none';
				


			}


		}
	</script>

</html>
